﻿using PlutoStudio.Exceptions;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace PlutoStudio
{
    [Serializable]
    public class FrameworkException: ComponentException
    {
        public FrameworkException()
        {

        }

        public FrameworkException(SerializationInfo serializationInfo, StreamingContext context)
            :base(serializationInfo,context)
        {

        }


        /// <summary>
        /// Creates a new <see cref="FrameworkException"/> object.
        /// </summary>
        /// <param name="message">Exception message</param>
        public FrameworkException(string message)
            : base(message)
        {

        }

        /// <summary>
        /// Creates a new <see cref="FrameworkException"/> object.
        /// </summary>
        /// <param name="message">Exception message</param>
        /// <param name="innerException">Inner exception</param>
        public FrameworkException(string message, Exception innerException)
            : base(message, innerException)
        {

        }
    }
}
